import mkdocs
import os 

mkdocs.__path__
#['/Users/Shared/VirtualEnv/python-conda/miniforge3/lib/python3.9/site-packages/mkdocs ]

dirpath = mkdocs.__path__[0]+'/contrib/search/lunr-language'

print(dirpath)


# /home/emery/.local/lib/python3.6/site-packages/mkdocs/contrib/search/lunr-language

print( ' wget https://cdn-1251266818.cos.ap-beijing.myqcloud.com/js/mkdocs/language/lunr.zh.js  '  )
print( ' cp  lunr.zh.js  '+ dirpath )


#执行复制的操作
os.system( ' cp  /home/libs/lunr.zh.js  '+ dirpath  )